package net.kevin.db.main;

import org.apache.poi.xwpf.usermodel.examples.BetterHeaderFooterExample;
import org.apache.poi.xwpf.usermodel.examples.SimpleDocument;
import org.apache.poi.xwpf.usermodel.examples.SimpleDocumentWithHeader;
import org.apache.poi.xwpf.usermodel.examples.SimpleImages;
import org.apache.poi.xwpf.usermodel.examples.SimpleTable;

public class POIDemo {
	public static void main(String[] args) throws Exception {
		int type = 6;
		switch (type) {
		case 1:
			SimpleDocument.main(args);
			break;
		case 2:
			BetterHeaderFooterExample.main(args);
			break;
		case 3:
			SimpleDocumentWithHeader.main(args);
			break;
		case 4:
			SimpleImages.main(args);
			break;
		case 5:
			SimpleTable.main(args);
			break;
		}
		System.out.println("Demo Done...");
	}
}